﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" MasterPageFile="~/MasterPage.master" %>

<%@ Register Src="TestPhanTrang/PagingControl.ascx" TagName="PagingControl" TagPrefix="uc1" %>
      
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<table cellpadding="0" cellspacing="0" width="100%" border="0">
                <tr>
                    <td>
                        <a href='Default.aspx'>Refresh</a>
                        <asp:Label ID="lblDisplay" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <uc1:PagingControl ID="Paging1" OnPaging_Click="Paging_Click" FirstString="<< First" LastString=" Last >>" NextString="Next >" PrevString="< Prev" TotalNumberPaging="5"  runat="server" />
                        <asp:Label ID="Err" Font-Bold="true" Font-Italic="true" ForeColor="red" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:GridView ID="GVDisplay" runat="server" CellPadding="4" ForeColor="#333333" 
                        AutoGenerateColumns="true" AllowPaging="true"
                                            PageSize="10" PagerSettings-Visible="false"
                        GridLines="None" Width="100%">
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#EFF3FB" />
                            <EditRowStyle BackColor="#2461BF" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
            </table>            
    <asp:Panel ID="Panel2" runat="server" GroupingText="Nhập danh mục Nhà xuất nhập khẩu">
<table border="0" align="left" >
    <tr>
        <td valign="top">
            <table border="0" align="center" >
            <tr>
            <td class="style3" bgcolor="#99ccff">
                <asp:Label ID="Label2" runat="server" text ="Mã nhà XNK: "></asp:Label>  
                <asp:Label ID="Label9" runat="server" Text="*" Font-Bold="true" ForeColor="red"></asp:Label>  
            </td>
            <td class="style4">
                <asp:TextBox ID="txtmanhaXNK" runat="server" Width="193px"></asp:TextBox>
                </td>
            </tr>

            <tr>
            <td class="style3" bgcolor="#99ccff">
                <asp:Label ID="Label3" runat="server" text ="Tên nhà XNK: "></asp:Label>
                <asp:Label ID="Label10" runat="server" Text="*" Font-Bold="true" ForeColor="red"></asp:Label>  
            </td>
            <td class="style4">
                <asp:TextBox ID="txttennhaXNK" runat="server" Width="193px"></asp:TextBox>
                </td>
            </tr>

            <tr>
            <td bgcolor="#99ccff">
                <asp:Label ID="Label4" runat="server" text ="Địa chỉ: "></asp:Label>
            </td>
            <td class="style4">
                <asp:TextBox ID="txtdiachi" runat="server" Width="193px"></asp:TextBox>
                </td>
            </tr>

            <tr>
            <td bgcolor="#99ccff">
                <asp:Label ID="Label7" runat="server" text ="Điện thoại: "></asp:Label>
            </td>
            <td class="style4">
                <asp:TextBox ID="txtdienthoai" runat="server" Width="193px"></asp:TextBox>
                </td>
            </tr>

            </table>
           </td>
        <td valign="top">
            <table border="0" align="center" >
            <tr>
            <td bgcolor="#99ccff">
                <asp:Label ID="Label5" runat="server" text ="Fax: "></asp:Label>
            </td>
            <td class="style4">
                <asp:TextBox ID="txtfax" runat="server" Width="193px"></asp:TextBox>
                </td>
            </tr>

            <tr>
            <td bgcolor="#99ccff">
                <asp:Label ID="Label6" runat="server" text ="Email: "></asp:Label>
            </td>
            <td class="style4">
                <asp:TextBox ID="txtemail" runat="server" Width="193px"></asp:TextBox>
                </td>
            </tr>

            <tr>
            <td bgcolor="#99ccff" style="height: 51px">
                <asp:Label ID="Label8" runat="server" text ="Mô tả: "></asp:Label>
            </td>
            <td class="style4" style="height: 51px">
                <asp:TextBox ID="txtmota" runat="server" Width="193px" TextMode="MultiLine" Height="43px"></asp:TextBox>
                </td>
            </tr>        
            </table>
        </td>
        <td valign="bottom">
        <div style="color:Red;">
            - Các trường có dấu sao màu đỏ là những trường bắt buộc
            <br />
            - Bạn vui lòng nhập đầy đủ các trường Mã, Tên Nhà Xuất Khẩu
        </div>
        <div>
            <asp:Button ID="btnNhap" runat="server" Text="Lưu" 
                onclick="btnNhap_Click" />                
        </div>
        </td>
    </tr>
</table>    
    </asp:Panel>                                
    <asp:Panel ID="Panel1" runat="server" GroupingText="Export/Import/Download">
        <asp:FileUpload ID="FileUpload1" runat="server" Height="25px" />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Import" Height="25px" /> | <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Export" Height="25px" /> | 
        <asp:HyperLink ID="HyperLink1" runat="server" OnLoad="HyperLink1_Load">Download Mẫu Import</asp:HyperLink>
    </asp:Panel>            
</asp:Content>

